import request from '@/utils/request'

/* 重大事件重要文件信息摘要台账表 */
// 列表查询
const importantDocumentInfoList = function (params = {}) {
  return request({
    url: '/zy-api/api/event/findList',
    method: 'post',
    data: params
  })
}

// 新增
const addImportantDocumentInfo = function (params = {}) {
  return request({
    url: '/zy-api/api/event/insert',
    method: 'post',
    data: params
  })
}

// 修改
const editImportantDocumentInfo = function (params = {}) {
  return request({
    url: '/zy-api/api/event/update',
    method: 'post',
    data: params
  })
}

// 删除
const delImportantDocumentInfo = function (params = {}) {
  return request({
    url: '/zy-api/api/event/delete',
    method: 'post',
    data: params
  })
}

// 审核
const auditImportantDocumentInfo = function (params = {}) {
  return request({
    url: '/zy-api/api/event/review',
    method: 'post',
    data: params
  })
}

export {
  importantDocumentInfoList,
  addImportantDocumentInfo,
  editImportantDocumentInfo,
  delImportantDocumentInfo,
  auditImportantDocumentInfo
}